<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="a.header.jsp" %>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head> 
<!--  /layuiproject/WebContent/4弹出层/b1多层弹窗遮罩层方法调用.jsp -->
<body>
        <h1>第三层页面</h1>
                
        <br><br><br>
        <button id="btn1">第三层页面方法</button>
        
        <script type="text/javascript">
        layui.use(['layer', 'form'], function(){
        	  var layer = layui.layer
        	  ,form = layui.form
        	  ,$=layui.$;
        	  
        	  layer.msg('Hello World');        	  
              $("#btn1").click(function(){
            	  thirdMethod();
              })              
              //第三层页面方法
              var thirdMethod=function(){
                  console.log("thirdMethod");
              }
        	  window.name="第三层页面";
        	});
        
    </script>
    </body>
    
</html> 